package com.guodu.service;

import java.math.BigDecimal;
import java.util.List;

import com.guodu.entity.MaterialChaoshi;
import com.guodu.entity.MaterialchaoshiStatus;
import com.guodu.entity.Units;
import com.guodu.entity.UserInfo;
import com.guodu.vo.MaterialChaoshiQueryVo;
import com.guodu.vo.MaterialChaoshiVo;


public interface MaterialChaoshiService {
	List<MaterialChaoshiVo> findByVo(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units,int curPage , int pageSize);
	List<MaterialChaoshi> findAllByVo(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units);
	int findSizeByVo(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units);
	BigDecimal findAllMoney(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units);
	MaterialChaoshi findById(String id);
	void del(String id);
	void delByIds(String[] ids);
	void save(MaterialChaoshi entity);
	void update(MaterialChaoshi entity);
	void examine(String ids,String reason,String beforeStatus,Long afterStatus,UserInfo userInfo);
	List<MaterialchaoshiStatus> findStatus(String id);
	boolean examinAll(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units);
	boolean huituiAll(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units);
	boolean shanchuAll(MaterialChaoshiQueryVo materialChaoshiQueryVo,Units units);
}
